﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Master/Default.master" CodeBehind="CustomerAddress.aspx.cs" Inherits="Runda.EShop.Web.Customer.CustomerAddress" %>
<%@ Register Src="~/UserControl/LeftMenu.ascx" TagPrefix="uc" TagName="LeftMenu" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphLeft" runat="server">
    <uc:LeftMenu runat="server" ID="ucLeftMenu" TopMenuCode="Page01"/>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
<div class="i_tablebt_xian" style="margin:10px 0px 0px 0px; width:100%;">
        <span class="l"><img src="<%=ResolveUrl("~/images/ico/down_16x16.gif")%>" align="absmiddle" />配送地址</span>
</div>
 <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" 
        OnRowDeleting="gvList_RowDeleting" DataKeyNames="ID" 
        onrowcommand="gvList_RowCommand" onrowdatabound="gvList_RowDataBound">
        <Columns>
             <asp:BoundField DataField="Name" HeaderText="收货人" />
            <asp:BoundField DataField="Phone" HeaderText="收货人电话" />
            <asp:BoundField DataField="Address" HeaderText="详细地址" />
            <asp:BoundField DataField="PostCode" HeaderText="邮编" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <asp:Button ID="btnDeleted" runat="server" CommandName="delete" Text="删除" />
                    <asp:Button ID="btnSet" runat="server" CommandName="set" CommandArgument='<%#Eval("ID") %>' Text="设为默认" />
                </ItemTemplate>                
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
